Formatting in Windows command files (.bat)
If specifying one of the format commands (‑‑format, ‑‑header‑format or ‑‑xml‑format) within a Windows command file (.bat) the % will indicate a variable name will follow, to avoid this then specify the % character twice. For example, an interactive user could use a command such as:
However, if you wanted this command in a Windows command file it should look like: